package com.cloud.cloudshop.client;

import com.cloud.cloudshop.config.FeignInterceptorConfig;
import com.cloud.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//添加FeignInterceptorConfig拦截器，添加header头
@FeignClient(value = "cloud-order",configuration = FeignInterceptorConfig.class)
public interface OrderServiceClient {

    @RequestMapping("/order/order/order/listFind")
    public R list();
}
